package com.byq.mm.common.event;

import java.util.Map;

import org.jivesoftware.smack.packet.Message;
import org.jivesoftware.smackx.filetransfer.IncomingFileTransfer;


public interface EventCenter {
	void notifyLogout();
	void notifyLoginStart();
	void notifyLoginSuccess();
	void notifyLoginFail(Exception e);
	void notifyPresenceChange();
	public void notifyConnectionClosed() ;
	public void notifyConnectionClosedOnError(Exception e) ;
	public void notifyReconnectingIn(int seconds);
	public void notifyReconnectionFailed(Exception e);
	public void notifyReconnectionSuccessful() ;

	public void notifyUser(Map<String, String> msg);
	
//	void notifyFileReceive(IncomingFileTransfer in);
	void notifyTransportClosed();
	void notifyUnavailable(String string);
	void notifyAddContactRequest(String jid);
	void notifyAddContactResonse(String jid, String type);
	void loopPrepare();
}
